/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright(C) Chris2018998,All rights reserved.
 *
 * Project owner contact:Chris2018998@tom.com.
 *
 * Project Licensed under Apache License v2.0.
 */
package org.stone.study.shine.util.concurrent.synchronizer.validator;

/**
 * Equivalent validator
 *
 * @author Chris Liao
 * @version 1.0
 */
abstract class EquivalentValidator extends BaseValidator {

    final Object compareValue;

    EquivalentValidator(Object compareValue) {
        this(compareValue, null);
    }

    EquivalentValidator(Object compareValue, Object resultOnTimeout) {
        super(resultOnTimeout);
        this.compareValue = compareValue;
    }
}
